﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Products_ProductDetail_comments" Codebehind="comments.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>        
        <!-- demo -->
        <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
            <p><strong>Đánh giá sản phẩm</strong><br />
        </HeaderTemplate>
        
        <ItemTemplate>
        <p style="margin-left: 160px">
            <asp:Table ID="Table2" runat="server" GridLines="Horizontal" Width="100%">
                <asp:TableRow ID="TableRow1" runat="server">
                    <asp:TableCell ID="TableCell1" Text="Email: " runat="server" Width="200" BackColor="Silver">
                    </asp:TableCell>                      
                    <asp:TableCell ID="TableCell2" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Member.Email")%>'>
                    </asp:TableCell>
                </asp:TableRow>                        
                
                <asp:TableRow>
                    <asp:TableCell ID="TableCell3" Text="Điểm: " runat="server" Width="200" BackColor="Silver">
                    </asp:TableCell>
                    <asp:TableCell ID="TableCell4" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Vote")%>'>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>       
        </p>        
                 
        </ItemTemplate>
        
        <SeparatorTemplate>
            <br />
        </SeparatorTemplate>                
        
        </asp:Repeater>         
        
        <hr />
        
        <p style="margin-left: 40px">
            <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Underline="True" 
                Text="Đánh Giá:"></asp:Label>
        </p>
        
        <asp:Table ID="Table1" runat="server" Width="100%">                                               
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="Label5" runat="server" Text="Đánh giá:" Width="100"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:DropDownList ID="DropDownListDiem" runat="server" Height="25px" Width="158px" AutoPostBack="true">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                    </asp:DropDownList>
                </asp:TableCell>
            </asp:TableRow>                       
        </asp:Table>          
        
    </div>
    <p style="margin-left: 280px">
        <asp:Button ID="btnDongY" runat="server" Text="Đồng ý" 
            onclick="btnDongY_Click" />
    </p>
    <p style="margin-left: 220px">
        <asp:Label ID="lMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
    </p>
    
    <br />
    
    </form>
</body>
</html>
